{"ast":null,"code":"export default (function (element) {\n  if (!element) {\n    return false;\n  }\n  if (element instanceof HTMLElement && element.offsetParent) {\n    return true;\n  }\n  if (element instanceof SVGGraphicsElement && element.getBBox) {\n    var _element$getBBox = element.getBBox(),\n      width = _element$getBBox.width,\n      height = _element$getBBox.height;\n    if (width || height) {\n      return true;\n    }\n  }\n  if (element instanceof HTMLElement && element.getBoundingClientRect) {\n    var _element$getBoundingC = element.getBoundingClientRect(),\n      _width = _element$getBoundingC.width,\n      _height = _element$getBoundingC.height;\n    if (_width || _height) {\n      return true;\n    }\n  }\n  return false;\n});","map":{"version":3,"names":["element","HTMLElement","offsetParent","SVGGraphicsElement","getBBox","_element$getBBox","width","height","getBoundingClientRect","_element$getBoundingC","_width","_height"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/rc-util/es/Dom/isVisible.js"],"sourcesContent":["export default (function (element) {\n  if (!element) {\n    return false;\n  }\n  if (element instanceof HTMLElement && element.offsetParent) {\n    return true;\n  }\n  if (element instanceof SVGGraphicsElement && element.getBBox) {\n    var _element$getBBox = element.getBBox(),\n      width = _element$getBBox.width,\n      height = _element$getBBox.height;\n    if (width || height) {\n      return true;\n    }\n  }\n  if (element instanceof HTMLElement && element.getBoundingClientRect) {\n    var _element$getBoundingC = element.getBoundingClientRect(),\n      _width = _element$getBoundingC.width,\n      _height = _element$getBoundingC.height;\n    if (_width || _height) {\n      return true;\n    }\n  }\n  return false;\n});"],"mappings":"AAAA,gBAAgB,UAAUA,OAAO,EAAE;EACjC,IAAI,CAACA,OAAO,EAAE;IACZ,OAAO,KAAK;EACd;EACA,IAAIA,OAAO,YAAYC,WAAW,IAAID,OAAO,CAACE,YAAY,EAAE;IAC1D,OAAO,IAAI;EACb;EACA,IAAIF,OAAO,YAAYG,kBAAkB,IAAIH,OAAO,CAACI,OAAO,EAAE;IAC5D,IAAIC,gBAAgB,GAAGL,OAAO,CAACI,OAAO,EAAE;MACtCE,KAAK,GAAGD,gBAAgB,CAACC,KAAK;MAC9BC,MAAM,GAAGF,gBAAgB,CAACE,MAAM;IAClC,IAAID,KAAK,IAAIC,MAAM,EAAE;MACnB,OAAO,IAAI;IACb;EACF;EACA,IAAIP,OAAO,YAAYC,WAAW,IAAID,OAAO,CAACQ,qBAAqB,EAAE;IACnE,IAAIC,qBAAqB,GAAGT,OAAO,CAACQ,qBAAqB,EAAE;MACzDE,MAAM,GAAGD,qBAAqB,CAACH,KAAK;MACpCK,OAAO,GAAGF,qBAAqB,CAACF,MAAM;IACxC,IAAIG,MAAM,IAAIC,OAAO,EAAE;MACrB,OAAO,IAAI;IACb;EACF;EACA,OAAO,KAAK;AACd,CAAC"},"metadata":{},"sourceType":"module"}